package dao;
import tool.RowMapper;
import tool.BaseDao;
import java.util.List;
import java.sql.SQLException;
import java.sql.ResultSet;
import entity.OntabletbEntity;
import dao.mapper.OntabletbDAOI;

/**
*@author JiangFan
*/
public class OntabletbDAO extends BaseDao implements OntabletbDAOI {

}
class OntabletbRowMapper implements RowMapper<OntabletbEntity>{
	@Override
	public OntabletbEntity rowmap(ResultSet set) throws  SQLException{
		return new OntabletbEntity(
			set.getString("onTable_id"),
			set.getString("goods_id"),
			set.getDouble("onTable_price"),
			set.getDate("onTable_time")
		);
	}
}
